<?php
require "db_mysql.php";

class  MySQL extends Mysql_DB { //db class
	var $db_host = "localhost";
	var $db_name = "root";
	var $db_user = "root";
	var $db_pass = "shopbx";
	
	function MySQL() {
		$this->Mysql_DB($this->db_host, $this->db_user, $this->db_pass, $this->db_name);
	}
	
	function addSlashes($str)
	{
		$str = str_replace("%","\%",$str);
		$str = str_replace("'","\'",$str);
		$str = str_replace(".","\.",$str);
	
		return $str;
	}	
}	